package com.carb.vo;

import com.carb.entity.Project;
import com.carb.entity.ProjectItem;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "服务项目查询返回的数据")
public class ProjectVO extends Project implements Serializable {

    @Schema(description = "服务项目物品关联信息")
    private List<ProjectItem> projectItems = new ArrayList<>();

    @Schema(description = "服务项目类型名称")
    private String projectTypeName;

}
